package pl.skubicha.response;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

import javax.validation.constraints.Size;

import pl.skubicha.domain.FinalGrades;
import pl.skubicha.domain.PartialGrades;

public class CreditingFormDTO implements Serializable {

	private static final long serialVersionUID = 7694112037043015024L;

	private Integer id;

	@Size( min = 1, message = "Pole nie może być puste! " )
	private String name;
	private Set< PartialGrades > partialGrades = new HashSet< PartialGrades >( 0 );
	private Set< FinalGrades > finalGrades = new HashSet< FinalGrades >( 0 );

	public Integer getId() {
		return id;
	}

	public void setId( final Integer id ) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName( final String name ) {
		this.name = name;
	}

	public Set< PartialGrades > getPartialGrades() {
		return partialGrades;
	}

	public void setPartialGrades( final Set< PartialGrades > partialGrades ) {
		this.partialGrades = partialGrades;
	}

	public Set< FinalGrades > getFinalGrades() {
		return finalGrades;
	}

	public void setFinalGrades( final Set< FinalGrades > finalGrades ) {
		this.finalGrades = finalGrades;
	}

}